package com.itqf.Dao;

import com.itqf.entity.Requestion;
/**
 * 大帅 2019/10/14 21:21
 */
import java.util.List;
import java.util.Map;

public interface RequestionMapper {
    public int deleteByPrimaryKey(Integer requestionid);

    //新增
    public int insert(Requestion requestion);



    public int insertSelective(Requestion record);

    public Requestion selectByPrimaryKey(Integer requestionid);

    public int updateByPrimaryKeySelective(Requestion record);

    //修改
    public int updateByPrimaryKey(Requestion requestion);

    //分页加模糊查询所有
    public List<Requestion> findall( Map map);

    public List<Requestion> findbyname(String requestiontitle);


    //删除
    public int delete(Map map);



//    提问的新增
    int insertrequestion(Map map);
//用户提问的修改
    int updateAnserer(Map map);
}